package com.health.healthSys.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.health.common.annotation.Excel;
import com.health.common.core.domain.BaseEntity;

/**
 * 角色管理对象 health_role
 * 
 * @author maple
 * @date 2025-02-28
 */
public class HealthRole extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 角色ID */
    private Long id;

    /** 角色名称 */
    @Excel(name = "角色名称")
    private String roleName;

    /** 角色管理信息 */
    private List<HealthRole> healthRoleList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRoleName(String roleName) 
    {
        this.roleName = roleName;
    }

    public String getRoleName() 
    {
        return roleName;
    }

    public List<HealthRole> getHealthRoleList()
    {
        return healthRoleList;
    }

    public void setHealthRoleList(List<HealthRole> healthRoleList)
    {
        this.healthRoleList = healthRoleList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("roleName", getRoleName())
            .append("healthRoleList", getHealthRoleList())
            .toString();
    }
}
